/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __M2_LOAD_IMPL_H__
#define __M2_LOAD_IMPL_H__

#include "SceneObject.h"
#include "M2File.h"
#include "M2SkinFile.h"
#include "M2AnimFile.h"

namespace PQGameCore
{
	class M2LoadImpl
		: public PQEngine::SceneResourceLoadImpl
	{
	public:
		M2LoadImpl(PQEngine::SceneObject* sceneObject,std::string path);
		PQEngine::GameObject* load();

		inline bool ok()
		{
			return _ok;
		}
	private:
		bool _ok;
		
	};
}
#endif
